<div class="card" [ngClass]="type">
  <h2>{{title}}</h2>
  <div>
    <ng-content></ng-content>
  </div>
</div>